package com.lwlk.zdk.model.pw;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import java.util.Date;

public class pwMessage {
    private Integer id;

    @ApiModelProperty(value="上级平台")
    private Integer platformIds;

    @ApiModelProperty(value="下级平台")
    private String platformId;

    @ApiModelProperty(value="报文内容")
    private String messageContent;

    @ApiModelProperty(value="发送时间")
    private Date createTime;

    @ApiModelProperty(value="应答是否(1:应答 -1:无应答)")
    private Integer isReply;

    @ApiModelProperty(value="应答消息")
    private String replyMessage;

    @ApiModelProperty(value="应答时间")
    private Date updateTime;

    @ApiModelProperty(value="下发报文对象")
    private String messageObjectType;

    @ApiModelProperty(value="平台类型")
    private String roleType;

    @ApiModelProperty(value="下发报文对象id")
    private String messageObjectTypeId;

    @ApiModelProperty(value="企业id")
    private Integer enterpriseId;

    @ApiModelProperty(value = "应答数量")
    private Integer responseSum;

    @ApiModelProperty(value = "用户id")
    private Integer uId;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }


    public Integer getResponseSum() {
        return responseSum;
    }

    public void setResponseSum(Integer responseSum) {
        this.responseSum = responseSum;
    }

    public Integer getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Integer enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getMessageObjectTypeId() {
        return messageObjectTypeId;
    }

    public void setMessageObjectTypeId(String messageObjectTypeId) {
        this.messageObjectTypeId = messageObjectTypeId;
    }

    public String getMessageObjectType() {
        return messageObjectType;
    }

    public void setMessageObjectType(String messageObjectType) {
        this.messageObjectType = messageObjectType;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlatformIds() {
        return platformIds;
    }

    public void setPlatformIds(Integer platformIds) {
        this.platformIds = platformIds;
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent == null ? null : messageContent.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsReply() {
        return isReply;
    }

    public void setIsReply(Integer isReply) {
        this.isReply = isReply;
    }

    public String getReplyMessage() {
        return replyMessage;
    }

    public void setReplyMessage(String replyMessage) {
        this.replyMessage = replyMessage == null ? null : replyMessage.trim();
    }
}